Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replacing json.loads with json_repair.loads #7679

Merged
merged 1 commit into from
Feb 5, 2025

Conversation

Jdogtherock
Copy link
Contributor

Pull request to implement solution to #1968 . in json_adapter.py , the parse_value function uses json_repair.loads() to load the structured output, so if theres slight errors or formatting issues, json_repair tries to fix it.

…ir.loads(value), so response format is more efficient
@okhat okhat merged commit 6a0a427 into stanfordnlp:main Feb 5, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants